export default [
  {
    name: "403",
    path: "/403",
    component: "@/pages/403",
    exact: true
  },
  {
    name: "404",
    path: "/404",
    component: "@/pages/404",
    exact: true
  },
  {
    name: "登录",
    path: "/login",
    component: "@/pages/Login",
    exact: true
  },
  {
    name: "layout",
    path: "/",
    component: "@/layouts/index",
    routes: [
      {
        name: "home",
        path: "/home",
        component: "@/pages/Home",
        exact: true,
        hideInMenu: true
      },
      {
        name: "page1",
        path: "/page1",
        routes: [
          {
            name: "page11",
            path: "/page1/page11",
            component: "@/pages/page1/Page11",
            exact: true,
            routes: [{ path: "/page1/page11", component: "@/pages/page1/Page11", exact: true }]
          },
          {
            name: "page12",
            path: "/page1/page12",
            component: "@/pages/page1/Page12",
            exact: true
          },
          {
            name: "page13",
            path: "/page1/page13",
            component: "@/pages/page1/Page13",
            exact: true
          }
        ]
      },
      {
        name: "page2",
        path: "/page2",
        routes: [
          {
            name: "page21",
            path: "/page2/page21",
            component: "@/pages/page2/Page21",
            exact: true
          },
          {
            name: "page22",
            path: "/page2/page22",
            component: "@/pages/page2/Page22",
            exact: true
          },
          {
            name: "page23",
            path: "/page1/page23",
            component: "@/pages/page2/Page23",
            exact: true
          }
        ]
      },
      {
        redirect: "/home",
        path: "/"
      }
    ]
  }
];
